# 在python中 0代表False 非0代表True 空字符串代表False 非空字符串代表True
# and
# print(1 and 1)
# print(0 and 1)
# print(1 and 0)
# print('' and 'abc')
# print('abc' and '123')
# print(1 and 'abc')
# print(1 and 'abc' and 0)

# or
# print(0 or 1)
# print(1 or 0)
# print(0 or 'abc')
# print(0 or '' or 100)

# not
print(not 0)
print(not 1)
print(not '')
print(not 'abc')
